
var tool = {

    setSession: function (name, val) {
        window.sessionStorage.setItem(name, val)
    },

    getSession: function (name) {
        let val = window.sessionStorage.getItem(name)
        return val
    }

}

export default tool;

